; * lisp/subr.el (setq-local): Doc fix (bug#78644).
authorEli Zaretskii <eliz@gnu.org>
Sat, 31 May 2025 08:12:58 +0000 (11:12 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 31 May 2025 08:12:58 +0000 (11:12 +0300)
lisp/subr.el

index 99981848db4735f6ac4a63256f6dae1c61dd947c..50ebc598e80c60e5d0fb910bac2d08e7a149ddc6 100644 (file)
@@ -161,11 +161,12 @@ of previous VARs.
     `(progn . ,(nreverse exps))))
 
 (defmacro setq-local (&rest pairs)
-  "Make each VARIABLE buffer-local and assign to it the corresponding VALUE.
+  "Make each VARIABLE local to current buffer and set it to corresponding VALUE.
 
 The arguments are variable/value pairs.  For each VARIABLE in a pair,
-make VARIABLE buffer-local and assign to it the corresponding VALUE
-of the pair.  The VARIABLEs are literal symbols and should not be quoted.
+make VARIABLE buffer-local in the current buffer and assign to it the
+corresponding VALUE of the pair.  The VARIABLEs are literal symbols
+and should not be quoted.
 
 The VALUE of the Nth pair is not computed until after the VARIABLE
 of the (N-1)th pair is set; thus, each VALUE can use the new VALUEs